Mollie\WooCommerce\Buttons\ApplePayButton\AppleAjaxRequests A

Total Complexity 60
Dependencies 13
Dependents 2
Total lines 707
Lines of code 448
Logical lines of code 208
Comment lines 150
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
calculateTotalsSingleProduct()
A
43 8 53
updateShippingContact()
A
46 7 42
cartCalculationResults()
S
49 6 32
calculateTotalsCartPage()
S
48 5 39
cartShippingMethods()
S
50 5 32
responseAfterSuccessfulResult()
S
49 3 37
validateMerchant()
S
49 3 30
whichCalculateTotals()
S
59 3 17
updateShippingMethod()
S
61 3 13
bootstrapAjaxRequest()
S
49 1 42
createWcOrder()
S
57 2 18
addAddressesToOrder()
S
58 2 17
customerAddress()
S
60 1 16
emptyCurrentCart()
S
70 2 6
reloadCart()
S
73 2 5
getShippingPackages()
S
60 1 13
createWCCountries()
S
80 1 3
applePayDataObjectHttp()
S
80 1 3
createWcOrderFromCart()
S
69 1 7
isNonceValid()
S
69 1 7
validationApiWalletsEndpointCall()
S
68 1 9
__construct()
S
69 1 7